Use Device Controls to preform device actions and commands that can be used to control a device.
Examples
Inventory - In the Inventory View, you'll find that for devices detected as online, that also support the reboot capability can be rebooted directly from the Inventory Panel.
Supported APIs
Call Control
API | Description | Type | Required Arguments |
---|
activeCalls | Returns an object containing all active calls on a specified device. | Query | deviceId |
leaveCall | Ends a call on a specified device. | Mutation | callId , deviceId |
startCall | Begins a call on a specified device. | Mutation | dialString , deviceId |
Device Logs
API | Description | Type | Required Arguments |
---|
accessLogUrl | Returns a URL to download device logs in a compressed format. | Query | deviceId |
logToFlashStatus | Stores device logs to flash storage connected to the local file system. | Query | deviceId |
Device Registration
API | Description | Type | Required Arguments |
---|
registerDevice | Register a device in Poly Lens. | Mutation | deviceId |
unregisterDevice | Unregister a device in Poly Lens. | Mutation | device |
Reboot & Reset Device
API | Description | Type | Required Arguments |
---|
factoryReset | This will perform a factory reset on a device where all settings and current connections to Poly Lens for it will be reset. | Mutation | deviceId |
rebootDevice | This will reboot the device, all active calls will be terminated and the device will be offline for several minutes. Note: The argument includeLinkedDevices :true will reboot the TC8/TC10 | Mutation | deviceId |
Software Updates
API | Description | Type | Required Arguments |
---|
updateDevice | Updates the device's name, site, and room. Prioritizes site/room name over site/room UUID. If the site/room name does not exist then will create a new site/room, otherwise matches to an existing site/room. | Mutation | deviceId |
updateDeviceOS | Updates the operating system of a device. | Mutation | deviceId |